#pragma once

#include "Action.h"

class CFileAction : public CAction
{
public:
    CFileAction();
    ~CFileAction();

    enum {
        None,
        Delete,
        Move,
        Copy,
        Create,
    };

    virtual void SetAttribute(LPCTSTR strKey, LPCTSTR strValue);
    virtual void SetParent(CAction* pParent);
protected:
    virtual bool doit();

private:
    DWORD m_dwOption;
    std::wstring m_strPath;
    std::wstring m_strTarget;
};